﻿@* Generator: MvcView *@
@using (Html.BeginForm(null,null, FormMethod.Post, new {enctype="multipart/form-data"})) { 
    
    <text>Add file</text>
<input name="NewFile" name="NewFile" type="file" />
    <input type="submit" value="Save" />
}

<script type="text/javascript">
    var x = '@ViewBag.saved';
    if(x.length >0)
        window.alert(x);

</script>

